Skip to content

Grids: fix unstable editing tests#34293

Merged
anna-shakhova merged 1 commit into
DevExpress:mainfrom
anna-shakhova:ubstable_tests_editing_26_2
Jul 17, 2026
Merged

Grids: fix unstable editing tests#34293
anna-shakhova merged 1 commit into
DevExpress:mainfrom
anna-shakhova:ubstable_tests_editing_26_2

Conversation

@anna-shakhova

Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this Jul 14, 2026
@anna-shakhova
anna-shakhova force-pushed the ubstable_tests_editing_26_2 branch 5 times, most recently from ed67ead to da0bc55 Compare July 16, 2026 14:16
@anna-shakhova anna-shakhova changed the title Grids: fix unstable editing test Grids: fix unstable editing tests Jul 16, 2026
@anna-shakhova
anna-shakhova marked this pull request as ready for review July 16, 2026 14:17
@anna-shakhova
anna-shakhova requested a review from a team as a code owner July 16, 2026 14:17
Copilot AI review requested due to automatic review settings July 16, 2026 14:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to stabilize DataGrid editing-related TestCafe E2E tests by adding stronger synchronization points (readiness / editor existence / focus checks) and making async validation deterministic to reduce timing-related flakes.

Changes:

  • Added explicit assertions that editors exist and are focused before interacting (keyboard navigation + sticky editing scenarios).
  • Reworked one async validation test to use a controllable $.Deferred() resolved from the test instead of setTimeout.
  • Removed unstable meta markers from some tests after adding extra synchronization.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
e2e/testcafe-devextreme/tests/dataGrid/sticky/common/withEditing.ts Adds edit-cell + editor-focus assertions (and fixes a typo) to reduce flakiness in sticky columns editing.
e2e/testcafe-devextreme/tests/dataGrid/common/keyboardNavigation/keyboardNavigation.functional.ts Adds editor existence checks before focus assertions; removes an unstable meta marker for a tab-navigation scenario.
e2e/testcafe-devextreme/tests/dataGrid/common/editing/functional.ts Makes async validation deterministic via a shared deferred resolved by the test (but currently leaves a global behind under disablePageReloads).
e2e/testcafe-devextreme/tests/dataGrid/common/editing/editing.functional_matrix.ts Adds editor existence checks and dataGrid.isReady() waits; removes an unstable meta marker for a focus-next-cell scenario.

Comment thread e2e/testcafe-devextreme/tests/dataGrid/common/editing/functional.ts
Copilot AI review requested due to automatic review settings July 16, 2026 14:29
@anna-shakhova
anna-shakhova force-pushed the ubstable_tests_editing_26_2 branch from da0bc55 to 052b3ab Compare July 16, 2026 14:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@anna-shakhova
anna-shakhova added this pull request to the merge queue Jul 17, 2026
Merged via the queue into DevExpress:main with commit 7ff2fe5 Jul 17, 2026
227 of 229 checks passed
@anna-shakhova
anna-shakhova deleted the ubstable_tests_editing_26_2 branch July 17, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants